package com.leedsoft.controller.dto;

import com.google.common.collect.Lists;
import com.leedsoft.common.Enums;
import com.leedsoft.domain.AidStep;

import java.util.List;

/**
 * Created by leeds on 2017/6/29.
 */
public class StepDto extends AidStep{
    private String typeName;
    private List<Integer> nodes = Lists.newArrayList();
    private List<Integer> noOutNodes = Lists.newArrayList();

    public String getTypeName() {
        typeName = Enums.getEnumName(Enums.StepType.class, getType());
        return typeName;
    }

    public void setTypeName(String typeName) {
        this.typeName = typeName;
    }

    public List<Integer> getNodes() {
        return nodes;
    }

    public void setNodes(List<Integer> nodes) {
        this.nodes = nodes;
    }

    public List<Integer> getNoOutNodes() {
        return noOutNodes;
    }

    public void setNoOutNodes(List<Integer> noOutNodes) {
        this.noOutNodes = noOutNodes;
    }
}
